Single user and multiple threads

  • STEPS

    1. Open jmeter window

    1. double click the file 'apache-jmeter/bin/jmeter.bat'

    Output: a window will be opened

    2. Setup Thread Group

    1. Right click on 'Test Plan' -> 'Add' -> 'Threads (users)' -> 'Thread Group'

    2. set 'Number of threads', 'Loop count'

    3. setup sampler

    1. right click on 'newly created thread group'

    2. Add -> Sampler -> GraphQl Http Request

    3. set protocol ( http or https)

    4. set server name (domain name only) or IP

    5. set path (endpoint or filename)

    6. set graphQl query

    4. Setup Header

    1. right click on 'thread group' -> 'add '-> 'Config Element' -> 'Http Header Manager'

    2. add header variable

    5. setup result tree

    1. right click on 'thread group' -> 'add '-> listner -> 'view result tree'

    6. run the request

    click on the green play button at the top of the screen